package com.hl.service;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import jdk.nashorn.internal.ir.annotations.Reference;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

/**
 * @author Liu Huan
 */
@Service    //注意导入的是 dubbo 包下!  注册发布服务
@Component
public class TicketServiceImpl implements TicketService {
	
	@Override
	public String getTicket() {
		return "a ticket : HL";
	}
}
